GtkToolbar *toolbar,
cairo_t *cr)
{
- GtkToolbarPrivate *priv = toolbar->priv;
GtkOrientation orientation;
GtkStyleContext *context;
GtkStateFlags state;
g_return_if_fail (GTK_IS_WIDGET (widget));
- orientation = toolbar ? priv->orientation : GTK_ORIENTATION_HORIZONTAL;
+ orientation = toolbar ? toolbar->priv->orientation : GTK_ORIENTATION_HORIZONTAL;
context = gtk_widget_get_style_context (widget);
state = gtk_widget_get_state_flags (widget);